#!/bin/bash
# 启动脚本

cd dist
if [ "$1" == "deamon" ]
then
    nohup npm run start > scrcpy.log 2>&1 &
else
    npm run start
fi
